﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace DGVExample
{
    public class ConnectDatabase
    {
        public SqlConnection conn = new SqlConnection();
        public void ConnectDB()
            {
               // conn.ConnectionString = "Data Source=PHAMDANHVU-PC;Initial Catalog=QLRAPPHIM;Integrated Security=True";
                conn.ConnectionString = "server=THANHTUAN-PC;database=QLRAPPHIM1;Uid = sa; Pwd = sa;";
                conn.Open();
            }
    }
}
